<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>三星</title>
  <style>
    div{
      width: 240px;
      height: 132px;
      position: relative;
      border:2px red solid;
    }
    p{
      margin: 0;
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      color: white;
      background-color: rgba(0, 0, 0, 0.5);
      padding: 3px 0 3px 0;
    }
    img{
        border:2px blue solid;
    }
  </style>
</head>
<body>
  <div>
    <img src="imgs\img02.png" alt="">
    <p>三星再现关闭手机工厂风波</p>
  </div>
</body>
</html>